package com.eastfair.venuebooking.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.core.base.R;
import com.eastfair.venueservice.dto.ReportVenueDrawingCategoryAuditHistoryDTO;
import com.eastfair.venueservice.vo.ReportVenueDrawingCategoryAuditHistoryVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 一键报馆图纸分类审核记录历史 feign.
 *
 * @author dqq
 * @date 2022 /9/17
 */
@FeignClient(value = "venue-services-manage/reportVenueDrawingCategoryAuditHistory")
public interface ReportVenueDrawingCategoryAuditHistoryFeign {

    /**
     * 报馆号查询图纸分类审核VO历史列表.
     *
     * @param pageParams the page params
     * @return the r
     */
    @PostMapping("/query/history")
    R<Page<ReportVenueDrawingCategoryAuditHistoryVO>> queryHistory(@RequestBody PageParams<ReportVenueDrawingCategoryAuditHistoryDTO> pageParams);
}